<?php
	 $i = 1;
	 foreach($newsArray as $row_array)
	 {
         $image = $row_array["snapshot_big"];
         if($image == null || $image == "")
             $image = sfConfig::get("app_no_image");
?>
  <div class="latest_list">
    <div class="num"><?php echo $i; ?></div>
    <div class="latest_text">
      <h3><?php echo link_to($row_array["brief_title"],"news/detail?id=".$row_array["news_id"],"target='_blank'"); ?></h3>
      <div class="latest_word"><?php echo substr($row_array["brief"],0,22); ?>...</div>
      <p class="date"><?php echo $row_array["currentTime"]; ?></p>
    </div>
    <div class="latest_img"><?php echo link_to("<img src=\"".$image."\" >","news/detail?id=".$row_array["news_id"],array("target" => "_blank")) ?></div>
  </div>
  <?php
      $i = $i + 1;
	 }

      echo utility::getPageNavigator($currentPageNumber,$totalPageNumber,10,"pageNumber");
?>
  